package com.lxmes.gs.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.*;
import com.lxmes.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 项目立项对象 gs_project_approval
 * 
 * @author wdf
 * @date 2023-05-04
 */
@Data
@TableName("gs_project_approval")
public class ProjectApproval{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 立项编号 */
    @TableField(value = "approval_code",condition = SqlCondition.LIKE)
    private String approvalCode;

    /** 立项名称 */
    @TableField(value = "approval_name",condition = SqlCondition.LIKE)
    private String approvalName;

    /** 批准文号 */
    @TableField(value = "approval_number",condition = SqlCondition.LIKE)
    private String approvalNumber;

    /** 批准单位 */
    @TableField(value = "approval_unit")
    private String approvalUnit;

    /** 批准人 */
    @TableField(value = "approval_person")
    private String approvalPerson;

    /** 项目类型 */
    @TableField(value = "project_type")
    private String projectType;

    /** 项目说明 */
    @TableField(value = "project_description")
    private String projectDescription;

    /** 项目规模 */
    @TableField(value = "project_scale")
    private String projectScale;

    /** 项目总预算 */
    @TableField(value = "project_total_budget")
    private Double projectTotalBudget;

    /** 材料预算 */
    @TableField(value = "material_budget")
    private Double materialBudget;

    /** 加工预算 */
    @TableField(value = "processing_budget")
    private Double processingBudget;

    /** 分包预算 */
    @TableField(value = "subcontracting_budget")
    private Double subcontractingBudget;

    /** 租赁预算 */
    @TableField(value = "leasing_budget")
    private Double leasingBudget;

    /** 间接预算 */
    @TableField(value = "indirect_budget")
    private Double indirectBudget;

    /** 计划工时 */
    @TableField(value = "planned_working_hours")
    private Double plannedWorkingHours;

    /** 计划用人 */
    @TableField(value = "planned_personnel")
    private Long plannedPersonnel;

    /** 计划周期 */
    @TableField(value = "plan_period")
    private String planPeriod;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "start_time")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(value = "end_time")
    private Date endTime;

    /** 发起单位编号 */
    @TableField(value = "initiate_unit_code")
    private String initiateUnitCode;

    /** 发起单位 */
    @TableField(value = "initiate_unit")
    private String initiateUnit;

    /** 发起人工号 */
    @TableField(value = "initiator_person_code")
    private String initiatorPersonCode;

    /** 发起人 */
    @TableField(value = "initiator_person")
    private String initiatorPerson;

    /** 责任单位编号 */
    @TableField(value = "responsible_unit_code")
    private String responsibleUnitCode;

    /** 责任单位 */
    @TableField(value = "responsible_unit")
    private String responsibleUnit;

    /** 责任人工号  */
    @TableField(value = "responsible_person_code")
    private String responsiblePersonCode;

    /** 责任人 */
    @TableField(value = "responsible_person")
    private String responsiblePerson;

    /** 备注 */
    @TableField(value = "remark")
    private String remark;

    /** 是否审核下发 */
    @TableField(value = "audit_down")
    private String auditDown;


}
